package com.kaikeba.servlet.handler;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class UserAddHandler {
	
	public void addUser(HttpServletRequest request,HttpServletResponse response){
		response.setHeader("Content-type", "text/plan;Charset=UTF-8");
		try {
			response.getWriter().write("通过非servlet方式的添加用户成功!");
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

}
